package edu.npu.GraphIndex;

import java.util.ArrayList;
import java.util.List;

//Histogram的count和IDList部分
public class CntVid {
	@Override
	public String toString() {
		return count + "" + vid;
	}
	public int count;
	public List<Long> vid;
	public CntVid() {
		count = 0;
		vid = new ArrayList<Long>();
	}
	public void add(long id) {
		if(!vid.contains(id)) {
			this.vid.add(id);
			count++;
		}
	}
}
